import request from '../request'
//个人手机号查询
export const chekedPhone = (Proxy: any) => {
  return request(
    {
      url: '/rider/systemRiderUsers/showPhone',
      method: 'GET',
    },
    Proxy
  )
}
// 获取验证码
export const getPhoneCode = (data: any, Proxy: any) => {
  return request(
    {
      url: '/member/auth/send-sms-code',
      method: 'POST',
      show: true,
      data,
    },
    Proxy
  )
}
//修改手机号
export const changePhoneCode = (data: any, Proxy: any) => {
  return request(
    {
      url: '/rider/systemRiderUsers/updateRiderPhone',
      method: 'POST',
      data,
      show: true,
    },
    Proxy
  )
}
//注销账号 
export const logOff = (data: any, Proxy: any) => {
  return request(
    {
      url: `/rider/systemRiderUsers/riderLogout`,
      method: 'POST',
      show: false,
      data
    },
    Proxy
  )
}
